package org.come.Jpanel;

import javax.swing.*;
import java.awt.*;

public class GetLiangHaoTabJpanel extends JPanel {

	private static final long serialVersionUID = 1L;
	private CardLayout car;
    private GetLiangHaoOneJpanel getLiangHaoOneJpanel;
    private GetLiangHaoTwoJpanel getLiangHaoTwoJpanel;
	private GetLiangHaoThreeJpanel getLiangHaoThreeJpanel;

	public GetLiangHaoTabJpanel() {

        car = new CardLayout();
        this.setPreferredSize(new Dimension(697, 538));
        this.setLayout(car);
        this.setOpaque(false);

		getLiangHaoOneJpanel = new GetLiangHaoOneJpanel();
        this.add(getLiangHaoOneJpanel, "2");

		getLiangHaoTwoJpanel = new GetLiangHaoTwoJpanel();
        this.add(getLiangHaoTwoJpanel, "3");

		getLiangHaoThreeJpanel = new GetLiangHaoThreeJpanel();
		this.add(getLiangHaoThreeJpanel, "4");
        
    }
	public CardLayout getCar() {
		return car;
	}

	public void setCar(CardLayout car) {
		this.car = car;
	}

	public GetLiangHaoOneJpanel getGetLiangHaoOneJpanel() {
		return getLiangHaoOneJpanel;
	}

	public void setGetLiangHaoOneJpanel(GetLiangHaoOneJpanel getLiangHaoOneJpanel) {
		this.getLiangHaoOneJpanel = getLiangHaoOneJpanel;
	}

	public GetLiangHaoTwoJpanel getGetLiangHaoTwoJpanel() {
		return getLiangHaoTwoJpanel;
	}

	public void setGetLiangHaoTwoJpanel(GetLiangHaoTwoJpanel getLiangHaoTwoJpanel) {
		this.getLiangHaoTwoJpanel = getLiangHaoTwoJpanel;
	}

	public GetLiangHaoThreeJpanel getGetLiangHaoThreeJpanel() {
		return getLiangHaoThreeJpanel;
	}

	public void setGetLiangHaoThreeJpanel(GetLiangHaoThreeJpanel getLiangHaoThreeJpanel) {
		this.getLiangHaoThreeJpanel = getLiangHaoThreeJpanel;
	}
}
